<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>N3RD CH4T: /Users/plamontagna/Documents/spa-cs340project/im_client_v2/loginwindow.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">N3RD CH4T
   &#160;<span id="projectnumber">Final Version</span>
   </div>
   <div id="projectbrief">CS340 Project</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">/Users/plamontagna/Documents/spa-cs340project/im_client_v2/loginwindow.h</div>  </div>
</div>
<div class="contents">
<a href="loginwindow_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// ----------------------------------------------------------------------------</span>
<a name="l00018"></a>00018 <span class="comment"></span><span class="comment">// ----------------------------------------------------------------------------</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef LOGINWINDOW_H</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define LOGINWINDOW_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;QMainWindow&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;<a class="code" href="client_8h.html" title="Header file for client.cpp.">client.h</a>&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="contactlist_8h.html" title="Header file for ContactList.cpp.">contactlist.h</a>&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;QWidget&quot;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="keyword">namespace </span>Ui {
<a name="l00029"></a>00029     <span class="keyword">class </span><a class="code" href="class_login_window.html" title="The LoginWindow helper methods.">LoginWindow</a>;
<a name="l00030"></a>00030 }
<a name="l00031"></a>00031 
<a name="l00039"></a><a class="code" href="class_login_window.html">00039</a> <span class="keyword">class </span><a class="code" href="class_login_window.html" title="The LoginWindow helper methods.">LoginWindow</a> : <span class="keyword">public</span> QMainWindow
<a name="l00040"></a>00040 {
<a name="l00041"></a>00041     Q_OBJECT
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="keyword">public</span>:
<a name="l00044"></a>00044 
<a name="l00046"></a>00046     <span class="keyword">explicit</span> <a class="code" href="class_login_window.html#aacfb01de174b9eaf5a712bbfd4b6d9b5" title="Explicit Constructor for LoginWindow.">LoginWindow</a>(QWidget *parent = 0);
<a name="l00047"></a>00047 
<a name="l00049"></a>00049     <a class="code" href="class_login_window.html#a0c49fe788dcce29aa50e7d974e1ad158" title="Deconstructor for LoginWindow.">~LoginWindow</a>();
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="keyword">private</span> slots:
<a name="l00052"></a>00052 
<a name="l00057"></a>00057     <span class="keywordtype">void</span> <a class="code" href="class_login_window.html#a871418868aea4ff31bd81c6382b67407" title="Slot that determines if the user clicks the quit button.">on_QuitButton_clicked</a>();
<a name="l00058"></a>00058 
<a name="l00063"></a>00063     <span class="keywordtype">void</span> <a class="code" href="class_login_window.html#ab0b7b53b365f31de9b0534ece6b7cb5c" title="Slot that determines if the user clicks the about button.">on_AboutButton_clicked</a>();
<a name="l00064"></a>00064 
<a name="l00069"></a>00069     <span class="keywordtype">void</span> <a class="code" href="class_login_window.html#a910922ce3a371c9c408d4b256e90279a" title="Slot that determines if the user clicks the login button.">on_LoginButton_clicked</a>();
<a name="l00070"></a>00070 
<a name="l00076"></a>00076     <span class="keywordtype">void</span> <a class="code" href="class_login_window.html#a6d43c0b43778caee32874d685c29f123" title="Slot that determines if the user has entered text in the username field.">on_nameBox_textEdited</a>(<span class="keyword">const</span> QString &amp;arg1);
<a name="l00077"></a>00077 
<a name="l00078"></a>00078 <span class="keyword">private</span>:
<a name="l00079"></a>00079     Ui::LoginWindow *ui;
<a name="l00080"></a>00080 
<a name="l00082"></a><a class="code" href="class_login_window.html#a1f16183ef21e67eba928f47493481e28">00082</a>     <a class="code" href="class_client.html" title="The Client helper methods.">Client</a> *<a class="code" href="class_login_window.html#a1f16183ef21e67eba928f47493481e28" title="login Socket variable">loginSocket</a>;
<a name="l00083"></a>00083 
<a name="l00085"></a><a class="code" href="class_login_window.html#abc7e7595c3301b664ebf5630db15be85">00085</a>     QString <a class="code" href="class_login_window.html#abc7e7595c3301b664ebf5630db15be85" title="username name variable">name</a>;
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 <span class="keywordtype">bool</span> eventFilter(QObject *ob, QEvent *e);
<a name="l00088"></a>00088 };
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 <span class="preprocessor">#endif // LOGINWINDOW_H</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span>
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 23:53:09 for N3RD CH4T by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
